input[type="text"] {
    border: 1px solid red;
}

input[value^="123"] {
    border: 1px solid #adff2f;
}

ul li:nth-child(2n+1) {
    background: green;
}

ul li:last-child {
    background: blue;
}